package com.example.three.Mapper.ShopMapper;

import com.example.three.DO.SysOfficeProd;

import java.util.List;

public interface ShopMapper {
    List<SysOfficeProd> profindBy(String shopId);


    List<SysOfficeProd> selectgood(String shopId,String prod_name);

    SysOfficeProd profindBy1(long proId);

    int prodelete(String shopId,long prodId);

    int addpro(long proId,String proName,String proType,String shopId,String isConsume,String price,
               String pic,String status,String totalStocks,java.sql.Timestamp creatTime,
               java.sql.Timestamp updateTime,java.sql.Timestamp putawayTime,long salesVolume);

    int setpro(long proId,String proName,String proType,String shopId,String isConsume,String price,
            String pic,String status,String totalStocks,java.sql.Timestamp upDateTime);

   int updatenumber(long proId,String totalStocks);
}
